package cn.fsd.service;

import cn.fsd.domain.Purchase_bill;
import cn.fsd.domain.Storeroom_commodity;
import cn.fsd.query.delivery.StoreroomCommodityQuery;
import cn.fsd.vo.PageBean;

public interface StoreRoomCommodityService {

  PageBean<Storeroom_commodity> getCommodityByPage(StoreroomCommodityQuery query);

  int updateStoreValues(Storeroom_commodity storeroomCommodity);

  PageBean<Storeroom_commodity> queryInventory(StoreroomCommodityQuery query);

  PageBean<Storeroom_commodity> queryOutOfStock(StoreroomCommodityQuery query);

  Storeroom_commodity getCommodityById(String commodityId,String warehouseId);

  Integer updatePurchase(StoreroomCommodityQuery query);

  void updatePurchase(Purchase_bill bill,int returnNum);

  Storeroom_commodity getCommodity(String storeroomId, String commodityId);
}
